<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>商品列表</title>
        <link rel="stylesheet" href="__PUBLIC__/Operation/css/admin.css" />
        <script type='text/javascript' src="__PUBLIC__/Operation/js/jquery/jquery-1.12.4.min.js"></script>
        <script type='text/javascript' src="__PUBLIC__/Operation/js/artdialog/artDialog.js"></script>
        <script type='text/javascript' src="__PUBLIC__/Operation/js/artdialog/plugins/iframeTools.js"></script>
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Operation/js/artdialog/skins/aero.css" />
    </head>
    <body>
        <div class="pop_win" style="width:690px;height:550px;overflow-y:scroll">
            <div class="content">
                <table class="border_table" style="width:100%">
                    <colgroup>
                        <col width="150px" />
                        <col />
                        <col width="90px" />
                        <col width="70px" />
                    </colgroup>
                    <tbody>
                        <if condition="$data">
                        <foreach name='data' item='item' key='key'>
                        <tr>
                            <td>
                                <label class='attr'>
                                    <input type='<if condition="$type eq null"> checkbox <else/>{$type}</if>' name='id[]' value="{$item['goods_id']}" data='{$item[json]}' />
                                           {$item['goods_no']}
                            </label>
                        </td>
                        <td class="t_l">
                            {$item['name']}
                            <if condition="$item['spec_array'] neq null">
                            <p>
                                 <foreach name="item['spec']" item='i'>
                                {$i['name']}：
                                <if condition="$i['type'] eq 1">
                                {$i['value']}
                                <else/>
                                <img src="__ROOT__/{$i[value]}" width="15px" height="15px" class="spec_photo" />
                                </if>
                                 </foreach>
                            </p>
                            </if>
                        </td>
                        <td>￥{$item['sell_price']}</td>
                        <td><img src="__ROOT__/{$item[img]}" width="40px" class="img_border" /></td>
                    </tr>
                    </foreach>
                    <else/>
                    <tr>
                        <td colspan="4">对不起，没有找到相关商品</td>
                    </tr>
                    </if>
                </tbody>
            </table>
        </div>
    </div>
</body>
</html>